var mongoose = require("./db");


//新人公告数据表
var NewPerson = mongoose.model('newpersons', {
    from: String, //提供人id
    category: Number, //BROADCASTTYPE
    view:Number, //浏览量
    name: String, //姓名
    aFrom: String, //来自
    aTo: String,   //在什么地方    
    aToOther:String, //其它地点
    create: Date, //发布时间
    start: Date, //开始时间
    end: Date, //结束时间
    present: String, //介绍自己
    phone: String,
    email: String,
    photo: [String], //相关照片
});

module.exports = NewPerson;